package com.imti.mall.product.service.impl;

import com.imti.mall.model.cms.pojo.CmsPrefrenceArea;
import com.imti.mall.product.dao.CmsPrefrenceAreaDao;
import com.imti.mall.product.service.CmsPrefrenceAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CmsPrefrenceAreaServiceImpl implements CmsPrefrenceAreaService {
    @Autowired
    CmsPrefrenceAreaDao cmsPrefrenceAreaDao;
    @Override
    public List<CmsPrefrenceArea> findCmsPrefrenceArea() {
        return cmsPrefrenceAreaDao.selectList(null);
    }
}
